import {Routes, RouterModule} from '@angular/router';
import {ModuleWithProviders} from '@angular/core';
import {ClassComponent} from './classification.component';
import {ListComponent} from './list/list.component';

export const routes: Routes = [
  {
    path: '',
    component: ClassComponent,
    children: [{
      path: '',
      component: ListComponent,
      pathMatch: 'full',
      redirectTo: '/member/classification/list',
    }, {
      path: 'list',
      component: ListComponent
    }]
  }
];


export const routing: ModuleWithProviders = RouterModule.forChild(routes);
